package com.siyougame.business.convert.inspectItem;

import java.util.*;

import com.siyougame.business.controller.app.vo.AppInspectItemCreateReqVO;
import com.siyougame.business.controller.app.vo.AppInspectItemRespVO;
import com.siyougame.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.siyougame.business.controller.admin.inspectItem.vo.*;
import com.siyougame.business.dal.dataobject.inspectItem.InspectItemDO;

/**
 * 检查记录明细 Convert
 *
 * @author ${table.author}
 */
@Mapper
public interface InspectItemConvert {

    InspectItemConvert INSTANCE = Mappers.getMapper(InspectItemConvert.class);

    InspectItemDO convert(InspectItemCreateReqVO bean);
    InspectItemDO convertApp(AppInspectItemCreateReqVO bean);

    InspectItemDO convert(InspectItemUpdateReqVO bean);

    InspectItemRespVO convert(InspectItemDO bean);

    List<InspectItemRespVO> convertList(List<InspectItemDO> list);
    List<AppInspectItemRespVO> convertAppList(List<InspectItemDO> list);

    PageResult<InspectItemRespVO> convertPage(PageResult<InspectItemDO> page);

    List<InspectItemExcelVO> convertList02(List<InspectItemDO> list);

}
